package com.mengzaiwang.book.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 猛在王
 * @version 1.0
 * @date 27/6/2024 下午5:11
 * @description Book
 * @since 1.0
 */
@Data
public class Book {
    private Long id;
    private String bookName;
    private String name;
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private LocalDateTime backTime;
}
